package com.randi.framework.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author ziye
 */
@Data
@ApiModel(value = "UserLoginDto", description = "用户登录DTO")
public class UserLoginDTO {

    @NotBlank(message = "用户名称不能为空")
    @ApiModelProperty(value = "用户名称")
    private String userName;

    @NotBlank(message = "用户密码不能为空")
    @ApiModelProperty(value = "用户密码")
    private String password;

    @NotBlank(message = "uuid不能为空")
    @ApiModelProperty(value = "uuid")
    private String uuid;

}
